//    Copyright (C) Kherty.  All rights reserved.
using System;
using OpenLS.Spreadsheet.Expressions;

namespace OpenLS.Spreadsheet.Formats.Biff.Tokens
{
    internal class CellRangeIntersectionToken : RangeTokenBase
    {
        public override FormulaTokenId TokenId
        {
            get { return FormulaTokenId.Isect; }
        }

        protected override Expression CreateExpression(CellEnumeratorExpression left, CellEnumeratorExpression right)
        {
            return new RangeIntersectionExpression(left, right);
        }
    }
}